@import 'base';

.share-sign-main {
  background: url('~@/assets/img/share_sign_active/bg_share_sign.png') no-repeat;
  background-size: cover;

  .placeholder-box {
    height: 103px;
  }

  //*****分享*****
  .share-sign-box {
    background: #fff;
    height: auto;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 4px 0 16px 0 rgba(224, 57, 32, .63);

    .title {
      img {
        width: 53px;
        height: 49px;
      }

      .txt {
        width: calc(100% - 60px);
        height: 49px;
        padding: 5px;
        box-sizing: border-box;

        p:first-child {
          font-weight: bold;

          span {
            color: #F85533;
          }
        }
      }
    }

    .day-box {
      margin-top: 2px;

      ul {
        flex-wrap: wrap;
        justify-content: end;

        li {
          background: url('~@/assets/img/share_sign_active/img_not_sign.png') no-repeat;
          background-size: cover;
          height: 48px;
          width: calc(100% / 8 - 3px);
          margin: 8px 3px 0 0;
          border-radius: 4px;

          span {
            width: 100%;
            bottom: 1px;
            font-weight: bold;
          }
        }

        li.active {
          background: url('~@/assets/img/share_sign_active/img_sign.png') no-repeat;
          background-size: cover;
        }

        li:nth-child(7) {
          background: url('~@/assets/img/share_sign_active/img_7_not_sign.png') no-repeat;
          background-size: cover;
        }

        li:nth-child(7).active {
          background: url('~@/assets/img/share_sign_active/img_7_sign.png') no-repeat;
          background-size: cover;
        }

        li:nth-child(8),
        li:nth-child(15) {
          margin-right: 0 !important;
        }

        li:nth-child(15) {
          background: url('~@/assets/img/share_sign_active/img_15_not_sign.png') no-repeat;
          background-size: cover;
          width: calc((100% / 8) * 2 - 3px);
        }

        li:nth-child(15).active {
          background: url('~@/assets/img/share_sign_active/img_15_sign.png') no-repeat;
          background-size: cover;
        }
      }
    }

    .share-product {

      p {
        margin: 20px 0 10px;
      }

      ul {
        justify-content: space-between;

        li {
          width: calc(100% / 3 - 9px);
          height: auto;

          img {
            width: 100%;
          }
        }
      }
    }
  }
  //*****分享*****

  //*****领取奖励*****
  .p-title {
    color: #FFFAC5;
    text-align: center;
    font-size: 18px;

    span {
      position: relative;
      background: #FFFAC5;
      display: inline-block;
      height: 14px;
      width: 4px;
      transform: rotate(20deg);
      border-radius: 3px;
      margin: 0 12px;
    }

    span.p-line-left::before,
    span.p-line-right::before{
      content: '';
      position: absolute;
      background: #FFCF89;
      height: 10px;
      width: 3px;
      transform: rotate(1deg);
      border-radius: 3px;
    }

    span.p-line-left::before {
      right: 9px;
      top: 6px;
    }

    span.p-line-right::before {
      left: 9px;
      top: -2px;
    }
  }

  .prize-box {
    margin-top: 30px;

    .sub-title {
      color: #FFFAC5;
      margin: 6px 0 3px;
    }

    ul {
      li {
        background: #fff;
        height: 100px;
        padding: 8px 15px;
        box-sizing: border-box;
        margin-top: 10px;
        border-radius: 4px;

        img {
          width: 84px;
        }

        .prize-msg {
          width: calc(100% - 90px);
          height: 100%;
          padding: 20px 0 0 11px;
          box-sizing: border-box;

          p {
            line-height: 24px;

            span {
              color: #FF6949;
            }
          }

          p:first-child {
            font-weight: bold;
          }

          span.btn {
            background: #F9F3ED;
            width: 60px;
            height: 24px;
            color: #B7AD9A;
            line-height: 24px;
            border-radius: 12px;
            right: 0;
            top: 40%;
          }

          span.active {
            background: -webkit-linear-gradient(left, #FF8859, #FF6648);
            color: #fff;
          }
        }
      }
    }

  }
  //*****领取奖励*****


  //*****活动规则*****
  .rule-box {
    margin: 30px 0 50px;

    .txt {
      margin-top: 8px;
      color: #FFE0C1;

      p {
        line-height: 20px;
        margin-top: 4px
      }
    }
  }
  //*****活动规则*****

}
